package org.dromara.run.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.dromara.run.domain.Rule;
import org.dromara.run.domain.vo.RuleVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.List;

/**
 * 跑步规则表Mapper接口
 *
 * @author chl
 * @date 2024-09-03
 */
public interface RuleMapper extends BaseMapperPlus<Rule, RuleVo> {
    Page<RuleVo> selectRuleList(@Param("page") Page<Rule> page, @Param(Constants.WRAPPER) Wrapper<Rule> queryWrapper);
    List<RuleVo> selectRuleList(@Param(Constants.WRAPPER) Wrapper<Rule> queryWrapper);

}
